<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<link href="/Public/css/bootstrap.min.css" rel="stylesheet">
<link href="/Public/css/amazeui.min.css" rel="stylesheet">
<link href="/Public/css/mycss.css" rel="stylesheet">
    <script src="/Public/js/jquery.js"></script>
    <script src="/Public/js/bootstrap.min.js"></script>
    <script src="/Public/js/amazeui.min.js"></script>
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
 <?php
 $nav= D("Nav")->GetNav(); ?>
 <header class="am-topbar am-topbar-inverse am-topbar-fixed-top">
  <div class="am-container">
    <h1 class="am-topbar-brand">
      <a href="#" class="am-text-ir">Amaze UI</a>
    </h1>

    <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only"
            data-am-collapse="{target: '#doc-topbar-collapse-4'}"><span class="am-sr-only">导航切换</span> <span
        class="am-icon-bars"></span></button>

    <div class="am-collapse am-topbar-collapse" id="doc-topbar-collapse-4">
      <ul class="am-nav am-nav-pills am-topbar-nav">
      <?php if(is_array($nav)): $i = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$nav): $mod = ($i % 2 );++$i;?><li><a href="<?php echo ($nav["src"]); ?>"><?php echo ($nav["name"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
  <li class="am-dropdown" data-am-dropdown>
         <a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
           下拉 <span class="am-icon-caret-down"></span>
         </a>
         <ul class="am-dropdown-content">
           <li><a href="#">带我去月球</a></li>
           <li><a href="#">还是回地球</a></li>
           <li class="am-disabled"><a href="#">臣妾做不到</a></li>
         </ul>
       </li> 
      </ul>
    </div>
  </div>
</header> 


<div class="container">
<strong><?php echo ($news["title"]); ?></strong>
<?php echo ($news["content"]); ?>

</div>